home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
4_0
/
TIFF_WIN
/
INVALIDA.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-01-31
|
450b
|
20 lines
#include "my color.h"
invalidate_controls(whichWindow)
WindowPtr whichWindow;
{
Rect grow_rect;
ControlHandle control;
grow_rect = whichWindow->portRect;
grow_rect.top = whichWindow->portRect.bottom - BAR_WIDTH;
grow_rect.left = whichWindow->portRect.right - BAR_WIDTH;
InvalRect(&grow_rect);
control = ((CWindowPeek)whichWindow)->controlList;
while(control)
{
InvalRect(&(*control)->contrlRect);
control = (*control)->nextControl;
}
}